package com.eascs.spider.hr.user.view;

import java.util.ArrayList;
import java.util.List;

public class UserStructureView {

	private String userCode;

	private String userName;

	private UserStructureView parent;

	private List<UserStructureView> children = new ArrayList<UserStructureView>();

	public UserStructureView(String userCode, String userName) {
		super();
		this.userCode = userCode;
		this.userName = userName;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public List<UserStructureView> getChildren() {
		return children;
	}

	public void setChildren(List<UserStructureView> children) {
		this.children = children;
	}

	public UserStructureView getParent() {
		return parent;
	}

	public void setParent(UserStructureView parent) {
		this.parent = parent;
	}

}
